package com.mpyy.dao.systemSetting;

import com.mpyy.pojo.SupplierInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @version 1.0
 * @Descrioption SupplierInformationDao
 * @Author QIAO
 * @Date 2022-03-23 16:02
 */
@Repository(value = "supplierInformationDao")
public interface SupplierInformationDao {
    /**
     * 查找供应商数据
     * @param supplierInfo
     * @return
     */
    List<SupplierInfo> searchSupplierInfoData(SupplierInfo supplierInfo);

    /**
     * 新增供应商信息
     * @param supplierInfo
     * @return
     */
    int insertSupplierInfoData(SupplierInfo supplierInfo);

    /**
     * 修改供应商信息
     * @param supplierInfo
     * @return
     */
    int updateSupplierInfoData(SupplierInfo supplierInfo);

    /**
     * 删除供应商信息
     * @param supplierInfo
     * @return
     */
    int deleteSupplierInfoData(SupplierInfo supplierInfo);
}
